
<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>系统</title>
    <link href="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.35/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.35/examples/dashboard/dashboard.css" rel="stylesheet">
  </head>

  <body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Project name</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
            <li><a href="/index2/">首页</a></li>
            <li><a href="/um/"></a></li>
          <li><a href="/history/"><nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="#">Project name</a>
      </div>
      <div id="navbar" class="navbar-collapse collapse">
        <ul class="nav navbar-nav navbar-right">
          <li><a href="/index2/">首页</a></li>
          <li><a href="/um/">查看数据流</a></li>
        <li><a href="/history/">退出登录</a></li>
        <ul class="nav navbar-nav navbar-right">
          <li class="dropdown">
              <!--{info.name}这个不是固定的看登录界面传入session的变量是什么-->
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;欢迎 {{ request.session.info.name }}<span class="caret"></span></a>
              <ul class="dropdown-menu">
                  <li><a style="color: black" href="/geren/">个人资料</a></li>
                  <li><a style="color: black" href="#">我的信息</a></li>
                  <li><a  style="color: black" href="/login/">切换账号</a></li>
                  <li role="separator" class="divider"></li>
                  <li><a style="color: black"  href="/userdel/">注销账号</a></li>
              </ul>
          </li>
      </ul>
        </ul>
      </div>
    </div>
  </nav></a></li>
          <ul class="nav navbar-nav navbar-right">
            <li class="dropdown">
                <!--{info.name}这个不是固定的看登录界面传入session的变量是什么-->
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;欢迎 {{ request.session.info.name }}<span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a style="color: black" href="/geren/">个人资料</a></li>
                    <li><a style="color: black" href="#">我的信息</a></li>
                    <li><a  style="color: black" href="/login/">切换账号</a></li>
                    <li role="separator" class="divider"></li>
                    <li><a style="color: black"  href="/userdel/">注销账号</a></li>
                </ul>
            </li>
        </ul>
          </ul>
        </div>
      </div>
    </nav>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            {%block main%}
            <h1>各个子页面需要继承的部分</h1>
            {%endblock%}
        </div>
      </div>
    </div>
    <script src="https://fastly.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
    
    <script src="https://fastly.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.35/dist/js/bootstrap.min.js"></script>
   
  </body>
</html>
